package org.example.ruangong.service;

import org.example.ruangong.model.User;

public interface UserService {
    boolean addUser(User user);
    boolean deleteUser(int uid);
    User getUserByEmail(String email);
    User getUserById(int uid);
    boolean verifyPassword(String email, String password);
    boolean updatePassword(String email, String oldPassword, String newPassword);
    boolean updatePassword(String email, String newPassword);
}
